/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2023.
 * Description: Enhanced implementation of IMA by RTOS.
 * Author: zhuyan
 * Create: 2023-10-25
 */
#include <linux/kstrtox.h>
#include <linux/init.h>
#include "rtos_ima_enhancement.h"

u64 ima_policy_count;
u64 ima_policy_count_inc;
u64 ima_policy_count_max;

static int __init policy_max_setup(char *str)
{
	u64 policy_count_max;

	if (!kstrtou64(str, 0, &policy_count_max))
		ima_policy_count_max = policy_count_max;

	return 1;
}
__setup("ima_policy_max=", policy_max_setup);
